import {request} from '@/utils/http/request'

export const requestLogin=(userInfo)=>{
    return request.post("/api/user/passport/login",userInfo)
}
export const requestUserName=()=>{
    return request.get("/api/user/passport/auth/getUserInfo")
}
export const requestLogOut=()=>{
    return request.get("/api/user/passport/logout")
}